{#**
*
* 功能描述（信息模板）
*
* @author suoya <jlusuoya@gmail.com>
* @version 1
*#}
{#include file="header.tpl" title="title" active="member" #}
{#include file="define.tpl" scope=parent#}

<div class="content middle">
    <div class="ui breadcrumb">
        <a class="section" href="index.php">主页</a>
        <i class="right"></i>
        <a class="section" href="index.php?action=user.showlist">会员管理</a>
        <i class="right"></i>
        <span class="active section">会员信息</span>
    </div>
    <div class="search">
        <div class="searchTitle">
            会员信息
        </div>
        <div class="searchBar" style=" line-height: normal; padding: 5px;">
            <div class="inputDIV">
                <label class="title">会员ID：</label>
                <label>{#$data['id']#}</label>
            </div>
            <div class="inputDIV">
                <label class="title">类型：</label>
                <label>
                    {#$c_type = $data['type']#}
                    {#$c_lv = $data['level']#}
                    {#if isset($g_vips[$c_type])#}
                        {#$c_levels=$g_vips[$c_type]#}
                        {#if isset($c_levels[$c_lv])#}
                            {#$c_levels[$c_lv]#}
                        {#else#}
                            异常会员级别{#$c_type#}_{#$c_lv#}
                        {#/if#}
                    {#else#}
                        异常会员类型{#$c_type#}
                    {#/if#}
                </label>
            </div>
            <div class="inputDIV">
                <label class="title">用户名：</label>
                <label>{#$data['name']#}</label>
            </div>
            <div class="inputDIV">
                <label class="title">公司：</label>
                <label>{#$data['com_name']#}</label>
            </div>
            <div class="inputDIV">
                <label class="title">公司电话：</label>
                <label>{#$data['com_tel']#}</label>
            </div>
            <div class="inputDIV">
                <label class="title">姓名：</label>
                <label>{#$data['truename']#}</label>
            </div>
            <div class="inputDIV">
                <label class="title">手机号：</label>
                <label>{#$data['mobile']#}</label>
            </div>
            <div class="inputDIV">
                <label class="title">性别：</label>
                <label>{#$g_sex[$data['sex']]#}</label>
            </div>
            <div class="inputDIV">
                <label class="title">邮箱：</label>
                <label>{#$data['email']#}</label>
            </div>
            <div class="inputDIV">
                <label class="title">出生日期：</label>
                <label>{#$data['bYear']#}-{#$data['bMonth']#}-{#$data['bDay']#}</label>
            </div>
            <div class="inputDIV">
                <label class="title">剩余积分：</label>
                <label>{#$data['score']#}</label>
            </div>
            <div class="inputDIV">
                <label class="title">余额：</label>
                <label>{#$data['money']#}</label>
            </div>
            <div class="inputDIV">
                <label class="title">注册时间：</label>
                <label>{#$data['regtime']#}</label>
            </div>
            <div class="inputDIV">
                <label class="title">最后登录时间：</label>
                <label>{#if isset($data['lastlogin']) and ($data['lastlogin'] != '0000-00-00 00:00:00')#}{#$data['lastlogin']#}{#/if#}</label>
            </div>
        </div>
    </div>
    <div class="button_bar">
        <input type="button" value="返回" class="button align_right" onclick="gotoUrl('index.php?action=user.showlist');" />
        <input type="button" value="查看会员评论" class="button align_right" onclick="gotoUrl('index.php?action=comment.showlist&key=user_id&keyword={#$data['id']#}');" />
    </div>
</div>
{#include file="footer.tpl" #}
